﻿using OMG.Fill.Potato.Model.Ent;
using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Potato.Model
{
    /// <summary>
    /// 马铃薯生产经营实体及相关情况查询条件
    /// </summary>
    public class PotProsecutionQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 马铃薯市场总数
        /// </summary>
        public int? MarketNum{ get;set;}
        /// <summary>
        /// 产地性市场
        /// </summary>
        public int? CdxMarket{ get;set;}
        /// <summary>
        /// 专业批发市场
        /// </summary>
        public int? ZypfMarket{ get;set;}
        /// <summary>
        /// 区域性综合批发市场
        /// </summary>
        public int? QyxzhpfMarket{ get;set;}
        /// <summary>
        /// 马铃薯企业总数
        /// </summary>
        public int? FruCompanyNum{ get;set;}
        /// <summary>
        /// 国家级龙头企业
        /// </summary>
        public int? ZzNum_country{ get;set;}
        /// <summary>
        /// 省级龙头企业
        /// </summary>
        public int? ZzNum_pro{ get;set;}
        /// <summary>
        /// 州（市）级龙头企业
        /// </summary>
        public int? ZzNum_city{ get;set;}
        /// <summary>
        /// 县（市、区）级龙头企业
        /// </summary>
        public int? ZzNum_county{ get;set;}
        /// <summary>
        /// 其他企业
        /// </summary>
        public int? ZzNum_other{ get;set;}
        /// <summary>
        /// 马铃薯农民合作社数量
        /// </summary>
        public int? HzNum{ get;set;}
        /// <summary>
        /// 参加马铃薯农民合作社农户数
        /// </summary>
        public int? HznhNum{ get;set;}
        /// <summary>
        /// 马铃薯农民合作社经营面积
        /// </summary>
        public decimal? NmhzArea{ get;set;}
        /// <summary>
        /// 流转土地面积
        /// </summary>
        public decimal? HzlzArea{ get;set;}
        /// <summary>
        /// 马铃薯农民合作社年销售收入
        /// </summary>
        public decimal? NmhzYincome{ get;set;}
    }
    public class ProsecutionFillModel
    {
        public PotProsecutionEntity DataModel { get; set; }
        public PotProsecutionEntity OldDataModel { get; set; }
        public string ReportStatus { get; set; }
        public string ReportId { get; set; }
        public string Opinion { get; set; }
    }
    public class ProsecutionStatisModel
    {
        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 填报年度
        /// </summary>
        public string FillInYear { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 马铃薯市场总数
        /// </summary>
        public int? MarketNum { get; set; }
        /// <summary>
        /// 产地性市场
        /// </summary>
        public int? CdxMarket { get; set; }
        /// <summary>
        /// 专业批发市场
        /// </summary>
        public int? ZypfMarket { get; set; }
        /// <summary>
        /// 区域性综合批发市场
        /// </summary>
        public int? QyxzhpfMarket { get; set; }
        /// <summary>
        /// 马铃薯企业总数
        /// </summary>
        public int? FruCompanyNum { get; set; }
        /// <summary>
        /// 国家级龙头企业
        /// </summary>
        public int? ZzNum_country { get; set; }
        /// <summary>
        /// 省级龙头企业
        /// </summary>
        public int? ZzNum_pro { get; set; }
        /// <summary>
        /// 州（市）级龙头企业
        /// </summary>
        public int? ZzNum_city { get; set; }
        /// <summary>
        /// 县（市、区）级龙头企业
        /// </summary>
        public int? ZzNum_county { get; set; }
        /// <summary>
        /// 其他企业
        /// </summary>
        public int? ZzNum_other { get; set; }
        /// <summary>
        /// 马铃薯农民合作社数量
        /// </summary>
        public int? HzNum { get; set; }
        /// <summary>
        /// 参加马铃薯农民合作社农户数
        /// </summary>
        public int? HznhNum { get; set; }
        /// <summary>
        /// 马铃薯农民合作社经营面积
        /// </summary>
        public decimal? NmhzArea { get; set; }
        /// <summary>
        /// 流转土地面积
        /// </summary>
        public decimal? HzlzArea { get; set; }
        /// <summary>
        /// 马铃薯农民合作社年销售收入
        /// </summary>
        public decimal? NmhzYincome { get; set; }
        /// <summary>
        /// 标识，0表示县级，1表示州市级，2表示省级
        /// </summary>                      
        public int tag { get; set; }
    }
}
